package cn.fql.ymcc.service.impl;

import cn.fql.ymcc.domain.Login;
import cn.fql.ymcc.mapper.LoginMapper;
import cn.fql.ymcc.service.ILoginService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 登录表 服务实现类
 * </p>
 *
 * @author 928877381@qq.com
 * @since 2022-12-04
 */
@Service
public class LoginServiceImpl extends ServiceImpl<LoginMapper, Login> implements ILoginService {

    @Autowired
    private LoginMapper loginMapper;
    @Override
    public Login getOneByUsername(String username) {

        return loginMapper.getOneByUsername(username);
    }
}
